<%@ page language="java" contentType="text/html; charset=utf-8"
        pageEncoding="utf-8"%>
        <!DOCTYPE html>
<%@ page import="com.unit10.service.EmpService" %>
<html>
<head>
   <meta charset="utf-8">
   <title>Insert title here</title>
</head>
<body>
<%
    EmpService es=new EmpService();
    int id=Integer.parseInt(request.getParameter("id"));
    es.delEmp(id);
    out.print("<h1>删除成功</h1>");
    out.print("<a href='http://127.0.0.1:8080/unit10_war_exploded/emp_index.jsp'>点击跳转到首页</a>");
%>
</body>
</html>